// Lib.MatlabExtension.cpp : Defines the exported functions for the DLL application.
//

#include "stdafx.h"
#include "Lib.MatlabExtension.h"
#include "stdio.h"



#ifdef __DATE__
#define BUILD_DATE __DATE__
#else
#define BUILD_DATE "xx/xx/xx"
#endif
#ifdef __TIME__
#define BUILD_TIME __TIME__
#else
#define BUILD_TIME "xx:xx:xx"
#endif

LIBMATLABEXTENSION_API const char* GetBuildTime()
{
	static char buildInfo[256];	
	sprintf_s(buildInfo,"#Build: %.20s, %.9s",BUILD_DATE,BUILD_TIME);
	return buildInfo;
}

LIBMATLABEXTENSION_API  const char* DllGetVersion()
{
#define DLL_UTILS_VERSION		"1.0.0"
	static char version[256] ={0};
	sprintf_s(version,"%s  %s",DLL_UTILS_VERSION,GetBuildTime());
	return version;
}

